<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:81:"/Users/qingyun/php/fruits/public/../application/home/view/commodity_orderlook.tpl";i:1514855523;s:58:"/Users/qingyun/php/fruits/application/home/view/layout.tpl";i:1515029682;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

</head>
<body>
<script src="/static/common/js/jquery1.42.min.js" type="text/javascript"></script>
<script src="/static/common/js/common_js.js" type="text/javascript"></script>
<script src="/static/common/js/footer.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/static/con/css/style.css" />
<link rel="stylesheet" type="text/css" href="/static/con/css/shopping-mall-index.css" />
<script type="text/javascript" src="/static/con/js/jquery.js"></script>
<script src="/static/common/js/jquery.SuperSlide.2.1.1.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/con/js/zhonglin.js"></script>
<script type="text/javascript" src="/static/con/js/zhongling2.js"></script>
<script type="text/javascript" src="/static/con/js/jquery.provincesCity.js"></script>
<script type="text/javascript" src="/static/con/js/provincesData.js"></script>
<script type="text/javascript" src="/static/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/static/h-ui.admin/js/H-ui.admin.js"></script>
<link href="/static/common/css/common.css" rel="stylesheet" type="text/css" />
<link href="/static/common/css/style.css" rel="stylesheet" type="text/css" />
<!--顶部样式-->
<div id="top">
    <div class="top" style="height: 0px">
        <div class="Collection"><em></em><a href="#">收藏我们</a></div>
        <div class="hd_top_manu clearfix">
            <ul class="clearfix">
                <?php if(session('?UserXinxi') == false): ?>
                    <li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！<a href="<?php echo url('home/Login/index'); ?>" class="red">[请登录]</a> 新用户<a href="<?php echo url('home/User/add'); ?>" class="red">[免费注册]</a></li>
                <?php else: ?><li class="hd_menu_tit zhuce" data-addclass="hd_menu_hover">欢迎光临本店！<a href="<?php echo url('home/User/userInfo'); ?>" class="red">个人信息</a><a href="<?php echo url('home/User/loginOut'); ?>" class="red">退出登录</a></li>

                <li class="hd_menu_tit" data-addclass="hd_menu_hover">
                    <a href="/home/commodity/orderlook">我的订单</a>
                </li>
                <li class="hd_menu_tit hd_Shopping_Cart" data-addclass="hd_menu_hover">
                    <a href="<?php echo url('home/commodity/cart'); ?>" class="hd_menu">查看购物车(<b class="eee">0</b>)</a>
                </li>
                <?php endif; ?>
            </ul>
        </div>
    </div>
</div>
<div id="header"  class="header">
    <div class="logo"><a href="#"><img src="/static/common/images/logo.png" /></a></div>
    <div class="Search">
        <p><input name="" type="text"  class="text"/><input name="" type="submit" value="搜索"  class="Search_btn"/></p>

    </div>

</div>
<!--导航栏样式-->
<div id="Menu">
    <div class="Menu_style">

        <!--菜单栏-->
        <div class="Navigation" id="Navigation">
            <ul class="Navigation_name">
                <li><a href="<?php echo url('home/index/index'); ?>">首页</a></li>
                <?php foreach($columnInfo as $vo): ?>
                    <li><a href="<?php echo url('home/commodity/lists'); ?>?cid=<?php echo $vo['id']; ?>"><?php echo $vo['title']; ?></a></li>
                <?php endforeach; ?>
            </ul>
        </div>
        <script>$("#Navigation").slide({titCell:".Navigation_name li"});</script>
        <!--购物车-->
        <div class="Shopping_car">
            <em></em> 购物车(<b class="eee">0</b>)
        </div>
    </div>
</div>


<!--正文-->
<div class="personal w1200">
    <!--正文左侧列表-->
    <div class="personal-left f-l">
        <div class="personal-l-tit">
            <h3>个人中心</h3>
        </div>
        <ul>
            <li class="per-li2"><a href="/home/user/userinfo">个人资料<span>></span></a></li>
            <li class="per-li3"><a href="<?php echo url('home/commodity/orderLook'); ?>">我的订单<span>></span></a></li>
            <li class="per-li5"><a href="<?php echo url('home/commodity/cart'); ?>">购物车<span>></span></a></li>
            <li class="per-li6"><a href="<?php echo url('home/user/site'); ?>">管理收货地址<span>></span></a></li>
        </ul>
    </div>

    <!--这里放正文右侧内容-->
    <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>确认订单</title>
</head>
<body>

 <div class="order-right f-r">

        <div class="order-md">
            <div class="md-tit">
                <h3>我的订单</h3>
            </div>

            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""><span>待付款</span>
                </div>
                <?php foreach($dfkDingdan as $vo): ?>
                <div class="dai-con">
                    <dl class="dl1">
                        <dt>
                            <input type="checkbox" name="hobby" value="" class="f-l"></input>
                            <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                        <div style="clear:both;"></div>
                        </dt>
                        <dd>
                            <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','<?php echo url('home/commodity/orderInfo'); ?>?id=<?php echo $vo['id']; ?>&orindex=1','1','998','600')">订单号:<?php echo $vo['number']; ?></a>
                        </dd>
                        <div style="clear:both;"></div>
                    </dl>
                    <div class="dai-right f-l">
                        <P class="d-r-p1">创建时间<br /><?php echo $vo['addTime']; ?></P>

                        <p class="d-r-p3">¥ <?php echo $vo['total']; ?></p>
                        <p class="d-r-p4"><a href="#"><b>付款</b></a></p>
                    </div>
                    <div style="clear:both;"></div>
                </div>
                <?php endforeach; ?>
            </div>
            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""></input><span>待发货</span>
                </div>
                <?php foreach($dfhDingdan as $vo): ?>
                    <div class="dai-con">
                        <dl class="dl1">
                            <dt>
                                <input type="checkbox" name="hobby" value="" class="f-l"></input>
                                <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                            <div style="clear:both;"></div>
                            </dt>
                            <dd>
                                <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','<?php echo url('home/commodity/orderInfo'); ?>?id=<?php echo $vo['id']; ?>&orindex=1','1','998','600')">订单号:<?php echo $vo['number']; ?></a>
                            </dd>
                            <div style="clear:both;"></div>
                        </dl>
                        <div class="dai-right f-l">
                            <P class="d-r-p1">创建时间<br /><?php echo $vo['addTime']; ?></P>

                            <p class="d-r-p3">¥ <?php echo $vo['total']; ?></p>

                        </div>
                        <div style="clear:both;"></div>
                    </div>
                <?php endforeach; ?>
            </div>
            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""></input><span>待收货</span>
                </div>
                <?php foreach($dshDingdan as $vo): ?>
                    <div class="dai-con">
                        <dl class="dl1">
                            <dt>
                                <input type="checkbox" name="hobby" value="" class="f-l"></input>
                                <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                            <div style="clear:both;"></div>
                            </dt>
                            <dd>
                                <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','<?php echo url('home/commodity/orderInfo'); ?>?id=<?php echo $vo['id']; ?>&orindex=1','1','998','600')">订单号:<?php echo $vo['number']; ?></a>
                            </dd>
                            <div style="clear:both;"></div>
                        </dl>
                        <div class="dai-right f-l">
                            <P class="d-r-p1">创建时间<br /><?php echo $vo['addTime']; ?></P>

                            <p class="d-r-p3">¥ <?php echo $vo['total']; ?></p>
                            <p class="d-r-p4"><a href="#">确认收货</a><br /><a href="JavaScript:;" ckwl="">查看物流</a></p>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                <?php endforeach; ?>
            </div>
            <div class="md-info">
                <div class="dai">
                    <input type="checkbox" name="hobby" value=""></input><span>待评价</span>
                </div>
                <?php foreach($dpjDingdan as $vo): ?>
                    <div class="dai-con">
                        <dl class="dl1">
                            <dt>
                                <input type="checkbox" name="hobby" value="" class="f-l"></input>
                                <a href="#" class="f-l"><img src="/static/con/images/dai.gif" /></a>
                            <div style="clear:both;"></div>
                            </dt>
                            <dd>
                                <a title="订单详情" href="javascript:;"onclick="admin_permission_edit('订单详情','<?php echo url('home/commodity/orderInfo'); ?>?id=<?php echo $vo['id']; ?>&orindex=4','1','998','600')">订单号:<?php echo $vo['number']; ?></a>
                            </dd>
                            <div style="clear:both;"></div>
                        </dl>
                        <div class="dai-right f-l">
                            <P class="d-r-p1">创建时间<br /><?php echo $vo['addTime']; ?></P>

                            <p class="d-r-p3">¥ <?php echo $vo['total']; ?></p>
                            <p class="d-r-p4"><a href="javascript:;" onclick="admin_permission_edits('订单详情','<?php echo url('home/commodity/comment'); ?>?orid=<?php echo $vo['id']; ?>','1','998','600')"><b style="size: 20px">评价</b></a></p>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                <?php endforeach; ?>

            </div>
            <!--分页-->

        </div>

    </div>
<script>
    function admin_permission_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
    function admin_permission_edits(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
</script>
</body>
</html>

    <div style="clear:both;"></div>
</div>




<script>

    $.ajax({
        type:'post',
        url:'<?php echo url('home/commodity/cartNum'); ?>',
        dataType:'json',

        success:function(data){
            $('.eee').text(data)
        }
    })


</script>


</body>
</html>